mergCLStartLocationManager
Type
command
Summary
Start the location manager
Syntax
mergCLStartLocationManager <pPurpose>, [<pAuthorizationType>]
Description
This should be done at startup or preOpenStack from the script of the object you would like to handle to mergCL messages. If the app is started by iOS because of a location event then it will be in the background and only have a limited time to handle the event before being suspended again. If your app requires user attention send a local notification which will bring your app to the foreground if the user touches the banner.
Parameters
Name | Type | Description |
---|---|---|
pPurpose | If the user needs to authorize location services for the app then this purpose will be displayed. | |
pAuthorizationType | (optional with "always" default) iOS 8 requires an explicit call to authorize use of location services wither always on or just when the app is in use. One of:
|
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
mac
Platforms
desktop
mobile